package com.fenqile.pop.enums;

/**
 * 订单状态
 * 
 * @author Coby [cobylin@live.com] 2017
 */
public enum OrderStatus implements IntValueEnum<OrderStatus> {
	
	/**
	 * 10 流程中
	 */
	PROCESSING(10, "流程中"),
	
	/**
	 * 12 未发货
	 */
	UNDELIVERED(12, "未发货"),
	
	/**
	 * 13
	 * 配送中
	 */
	DELIVERING(13, "配送中"),
	
	/**
	 * 14
	 * 已完成
	 */
	FINISHED(14, "已完成"),
	
	/**
	 * 15
	 * 已关闭
	 */
	CLOSED(15, "已关闭"),
	
	/**
	 * 16
	 * 售后中
	 */
	AFTERSALES(16, "售后中");

	private final int intValue;
	private final String name;
	
	private OrderStatus(final int intValue, final String name) {
		this.intValue = intValue;
		this.name = name;
	}
	
	@Override
	public int intValue() {
		return intValue;
	}

	@Override
	public String getName() {
		return name;
	}

}
